package com.hbpu.usercenter.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 返回给前端展示加入队伍的用户的信息的封装对象
 */
@Schema(description = "返回给前端展示加入队伍的用户的信息的封装对象")
@Data
public class UserVO implements Serializable {
    @Schema(hidden = true)
    @Serial
    private static final long serialVersionUID = -7324188324885823735L;

    /**
     * 用户id
     */
    @Schema(description = "用户id")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户昵称
     */
    @Schema(description = "用户昵称")
    private String username;

    /**
     * 用户头像
     */
    @Schema(description = "用户头像")
    private String avatarUrl;

    /**
     * 性别
     */
    @Schema(description = "性别")
    private Integer gender;

}
